<template>
  <div>
    <tr>
        <td><input  :value="obj.count" @input="$emit('input',$event.target.value)" type="text"></td>
        <td>{{obj.goodsName}}</td>
        <td>{{obj.count === 0?'卖完了':''}}</td>
    </tr>
  </div>
</template>

<script>
export default {
    props:{
     obj:{
        type:Object,
        required:true
     }
    },
  data(){
    return {}
  }
}
</script>

<style scoped>

</style>